{"version":3,"sources":["script.js"],"names":["BX","namespace","Main","selectorManagerV2","getById","id","this","controls","loadedEntities","SelectorV2","initialized","blockInit","apiVersion","fieldName","inputId","input","tagId","tag","options","callback","callbackBefore","items","entities","mainPopupWindow","entitiesSet","entityTypes","auxObject","selectorInstance","eventOpenBinded","create","params","util","hashCode","Math","random","toString","control","bindNode","document","body","contains","self","init","proxyCallback","data","prototype","parseInt","inputBox","inputBoxId","inputItemsContainer","inputContainerId","containerNode","containerId","bindId","openDialogWhenInit","onCustomEvent","selector","UI","Selector","type","pathToAjax","isNotEmptyString","clone","itemsSelected","selected","itemsUndeletable","undeletable","multiple","getOption","useSearch","useContainer","userNameTemplate","siteDepartmentId","showCloseIcon","popupAutoHide","last","disable","search","useAjax","useClientDatabase","focusInputOnSelectItem","focusInputOnSwitchTab","isCrmFeed","tagLink1","tagLink2","bindOptions","node","offsetTop","offsetLeft","zIndex","addCustomEvent","selectorId","getTreeItemRelation","bind","loadAll","initDialog","isNotEmptyObject","selectedItems","undeletableItems","SelectorManager","instances","entityType","fullList","i","itemId","hasOwnProperty","toUpperCase","getEntityTypeFullList","length","unselectItem","itemNode","mode","timeouts","setTimeout","searchRequest","saveDestination","LHENode","show","closeAllPopups","delegate","e","realParams","bByFocusEvent","preventDefault","setTagTitle","event","getSearchInstance","beforeSearchHandler","searchHandler","tagInputName","setAttribute","hidden","ii","select","apply","name","openDialogParams","eventParams","window","isShown","style","display","openDialog","getData","eventOpen","children","bindPosition","inputNode","findChild","tagName","attr","nodes","tagNode","getAttribute","value","position","popups","container","main","closeDialog","ajax","runComponentAction","then","response","addData","entity","isFunction","toLowerCase","clearTimeout","d","Date","searchRequestId","getTime","searchString","searchStringConverted","message","correctText","currentTimestamp","additionalData","onrequeststart","xhr","searchXhr","success","searchStringOriginal","failure","categoryId","allowSearchSelf","selectorInstanceId","ENTITIES","CRM","ITEMS_LAST","getId","optionId","context"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,WAEbD,GAAGE,K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